package com.vipsoft.base.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


@Component
@Profile("dev")
public class DevProfileConfig implements WebMvcConfigurer {

    Logger logger = LoggerFactory.getLogger(this.getClass());


    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        logger.info(">>>> dev RequestInterceptor preHandle method start <<<<");
    }
}